package com.ayou.eggguard.farm.service;

import com.ayou.common.utils.PageBean;
import com.ayou.eggguard.farm.pojo.Case;

import java.util.List;
import java.util.Map;

public interface CaseService {
    PageBean<Case> getCases(int pageNum, int pageSize, String caseNumber);

    void add(Case c);

    void update(Case c);

    void delete(Integer id);

    List<Map<String, Object>> getCaseFrequency();

    List<Map<String, Object>> getBlightCount();
}
